<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>下一页</title>
</head>
<body>
   <button id="btnPrev">上一页</button>
</body>
<script>
      document.getElementById('btnPrev').onclick =function (){
           history.back();
      }

</script>
</html>